<div th:fragment="nav">
	<div class="tpl-left-nav tpl-left-nav-hover">
		<!-- 用户信息 -->
		<div class="am-thumbnail am-text-center">
			<!-- <img src="${session.user.imageName}" th:src="${session.user.imageName}" class="am-img-thumbnail am-circle" /> -->
			<a href="/front/edit">
				<img th:src="${session.user.imageName}" class="am-img-thumbnail am-circle" width="160" height="160" />
			</a>
			<div class="am-thumbnail-caption">
				<h3>
					<div sec:authentication='principal.realName' />
					<div sec:authentication="name"></div>
				</h3>
			</div>
		</div>

		<div class="tpl-left-nav-list">
			<ul class="tpl-left-nav-menu">
				<li class="tpl-left-nav-item" sec:authorize="${hasAnyAuthority(1)}">
					<a th:href="@{/front/order/ticket/1}" class="nav-link" th:class="${nav_active=='ticket'}?'nav-link active':'nav-link'">
						<span>预订车票</span>
					</a>
				</li>
				<li class="tpl-left-nav-item" sec:authorize="${hasAnyAuthority(2)}">
					<a th:href="@{/front/order/ticket/1}" class="nav-link" th:class="${nav_active=='ticket'}?'nav-link active':'nav-link'">
						<span>抢单管理</span>
					</a>
				</li>
				<li class="tpl-left-nav-item">
					<a th:href="@{/front/order/12}" th:class="${nav_active=='order'}?'active nav-link':'nav-link'">
						<span>发布订单</span>
					</a>
				</li>
				<li class="tpl-left-nav-item">
					<a th:href="@{/front/ver}" class="nav-link" th:class="${ver}?'nav-link active':'nav-link'">
						<span>信息认证</span>
					</a>
				</li>
				<li class="tpl-left-nav-item">
					<a th:href="@{/front/safety}" class="nav-link" th:class="${safety}?'nav-link active':'nav-link'">
						<span>安全设置</span>
					</a>
				</li>
				<li class="tpl-left-nav-item">
					<a th:href="@{/front/edit}" class="nav-link" th:class="${edit}?'nav-link active':'nav-link'">
						<span>编辑资料</span>
					</a>
				</li>
				<li class="tpl-left-nav-item" sec:authorize="${hasAnyAuthority(0)}">
					<a th:href="@{/front/user/driver}" class="nav-link" th:class="${nav_active=='driver'}?'nav-link active':'nav-link'">
						<span>车主管理</span>
					</a>
				</li>
				<li class="tpl-left-nav-item" sec:authorize="${hasAnyAuthority(0)}">
					<a th:href="@{/front/user/passenger}" class="nav-link" th:class="${nav_active=='passenger'}?'nav-link active':'nav-link'">
						<span>乘客管理</span>
					</a>
				</li>
				<li class="tpl-left-nav-item" sec:authorize="${hasAnyAuthority(0)}">
					<a th:href="@{/front/comment}" class="nav-link" th:class="${nav_active=='comment'}?'nav-link active':'nav-link'">
						<span>评论管理</span>
					</a>
				</li>
			</ul>
		</div>
	</div>
</div>